{% extends "showinfo/base.html" %}

{% block content %}
    <div id="imglist"></div>
    <script>

        $(function () {
            var url = "{% url "getapis:getImages" %}";

            console.log(url)
            $.get(url, function (data) {
                console.log(data);
                data.forEach(function (item) {
                    $("#imglist").append("<img src='" + item + "'></img>");
                })
            })
        })
    </script>
{% endblock %}